package com.csj.DesignPattern.command;

import java.util.HashMap;
import java.util.Map;

public class Order {

    private int dinningTable;

    private Map<String, Integer> foodDir = new HashMap<>();

    public Map<String, Integer> getFoodDir() {
        return foodDir;
    }

    public void setFood(String name, int num) {
        this.foodDir.put(name, num);
    }

    public int getDinningTable() {
        return dinningTable;
    }

    public void setDinningTable(int dinningTable) {
        this.dinningTable = dinningTable;
    }
}
